package com.softtown.modules.dapai.service;


import com.github.pagehelper.PageInfo;
import com.softtown.common.service.BaseService;
import com.softtown.modules.dapai.dto.CompMacAddDTO;
import com.softtown.modules.dapai.dto.CompMacDTO;
import com.softtown.modules.dapai.dto.CompMacDetailDTO;
import com.softtown.modules.dapai.entity.CompMacEntity;

import java.util.List;


/**
* @Author: Ding Ya Yong
* @Description: 设备
* @date: 2022/1/2 11:40
* @Param:
* @return:
*/
public interface CompMacService extends BaseService<CompMacEntity> {

    PageInfo<CompMacDTO> getMacPageList(CompMacDTO compMacDTO);

    List<CompMacDTO> listForMac(CompMacDTO compMacDTO);

    CompMacAddDTO getMacById(Long compId, Long id);

    void addMac(CompMacAddDTO CompMacAddDTO);

    void updateMac(CompMacAddDTO CompMacAddDTO);

    void deleteMac(CompMacDTO compMacDTO);

}
